/* ========================================= */
/* ENVIRONMENT SECTION */
/* ========================================= */

.environment-section {
  background: #f1f4f6;
  padding: 100px 20px;
}

/* ========================================= */
/* BANNER */
/* ========================================= */

.environment-banner {
  position: relative;

  width: 100%;
  height: 78vh;

  overflow: hidden;
}

.environment-banner img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;

  transform: scale(1.02);
}

.environment-banner-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to right,
      rgba(0,0,0,0.58),
      rgba(0,0,0,0.38)
    );
}

.environment-banner-content {
  position: absolute;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  width: 100%;
  max-width: 1200px;

  padding: 0 40px;
}

.environment-banner-content h1 {
  font-size: 72px;
  line-height: 1.05;
  font-weight: 800;

  color: #ffffff;

  margin: 0;

  animation: fadeUp 1s ease;
}

.environment-banner-line {
  display: block;

  width: 60px;
  height: 5px;

  margin-top: 18px;

  border-radius: 50px;

  background: #d40511;

  animation: lineGrow 1s ease;
}

/* ========================================= */
/* CONTAINER */
/* ========================================= */

.environment-container {
  max-width: 1180px;

  margin: 0 auto;
}


/* ========================================= */
/* BLOCK */
/* ========================================= */

.environment-block {
  margin-bottom: 120px;
}

/* ========================================= */
/* TITLES */
/* ========================================= */

.environment-main-title,
.environment-content-block h2 {
  text-align: center;

  font-size: 35px;
  line-height: 1.15;
  font-weight: 800;

  color: #17233c;

  margin-bottom: 60px;
}

/* ========================================= */
/* GRID */
/* ========================================= */

.environment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 70px;
  align-items: center;
}

.environment-grid-bottom {
  margin-bottom: 0;
}

/* ========================================= */
/* TEXT */
/* ========================================= */

.environment-text p,
.environment-content-block p {
  font-size: 21px;
  line-height: 1.9;

  color: #24324a;

  margin-bottom: 30px;
}

.environment-content-block {
  max-width: 950px;

  margin: 0 auto 120px;
}

/* ========================================= */
/* LINKS */
/* ========================================= */

.environment-link {
  display: inline-flex;
  align-items: center;

  gap: 10px;

  color: #d40511;

  font-size: 19px;
  line-height: 1.7;

  text-decoration: underline;

  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.environment-link::after {
  content: "↗";

  font-size: 16px;
}

.environment-link:hover {
  opacity: 0.75;

  transform: translateX(4px);
}

/* ========================================= */
/* IMAGES */
/* ========================================= */

.environment-image-box,
.environment-image-large {
  overflow: hidden;

  border-radius: 10px;
}

.environment-image-box img,
.environment-image-large img {
  width: 100%;

  display: block;

  border-radius: 10px;

  box-shadow:
    0 12px 35px rgba(0,0,0,0.08);

  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease;
}

.environment-image-box:hover img,
.environment-image-large:hover img {
  transform: scale(1.03);

  box-shadow:
    0 18px 45px rgba(0,0,0,0.12);
}

/* ========================================= */
/* CAPTION */
/* ========================================= */

.environment-caption {
  display: block;

  margin-top: 14px;

  font-size: 15px;
  line-height: 1.5;

  color: #3a4658;
}

/* ========================================= */
/* ANIMATIONS */
/* ========================================= */

.fade-up {
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {

  from {
    opacity: 0;

    transform:
      translateY(40px);
  }

  to {
    opacity: 1;

    transform:
      translateY(0);
  }

}

@keyframes lineGrow {

  from {
    width: 0;
    opacity: 0;
  }

  to {
    width: 60px;
    opacity: 1;
  }

}

/* ========================================= */
/* LARGE SCREEN */
/* ========================================= */

@media (max-width: 1400px) {

  .environment-banner-content h1 {
    font-size: 62px;
  }

}

/* ========================================= */
/* TABLET */
/* ========================================= */

@media (max-width: 1024px) {

  .environment-banner {
    height: 65vh;
  }

  .environment-banner-content h1 {
    font-size: 54px;
  }

  .environment-main-title,
  .environment-content-block h2 {
    font-size: 42px;
  }

  .environment-grid {
    gap: 50px;
  }

  .environment-text p,
  .environment-content-block p {
    font-size: 18px;
  }

}

/* ========================================= */
/* MOBILE */
/* ========================================= */

@media (max-width: 768px) {

  .environment-section {
    padding:
      80px
      20px;
  }

  .environment-banner {
    height: 52vh;
  }

  .environment-banner-content {
    padding: 0 24px;
  }

  .environment-banner-content h1 {
    font-size: 42px;
  }

  .environment-banner-line {
    width: 48px;
    height: 4px;

    margin-top: 14px;
  }

  .environment-block {
    margin-bottom: 85px;
  }

  .environment-main-title,
  .environment-content-block h2 {
    font-size: 34px;

    margin-bottom: 36px;
  }

  .environment-grid {
    grid-template-columns: 1fr;

    gap: 36px;
  }

  .environment-content-block {
    margin-bottom: 85px;
  }

  .environment-text p,
  .environment-content-block p {
    font-size: 17px;
    line-height: 1.8;

    margin-bottom: 22px;
  }

  .environment-link {
    font-size: 17px;
  }

}

/* ========================================= */
/* SMALL MOBILE */
/* ========================================= */

@media (max-width: 480px) {

  .environment-banner {
    height: 46vh;
  }

  .environment-banner-content h1 {
    font-size: 34px;
  }

  .environment-main-title,
  .environment-content-block h2 {
    font-size: 28px;
  }

  .environment-text p,
  .environment-content-block p {
    font-size: 16px;
  }

  .environment-link {
    font-size: 16px;
  }

}